#[derive(Debug)]
enum List {
    Cons(i32, Box<List>),
    Empty,
}
use List::{Cons, Empty};
fn main() {
    let list = Cons(1, Box::new(Cons(2, Box::new(Cons(3, Box::new(Empty))))));

    print!("{:?}", list);
}
